/**
 * 
 */
package com.atozsoft.wf;

import java.util.ArrayList;
import java.util.List;

import com.eos.system.annotation.Bizlet;

import commonj.sdo.DataObject;

/**
 * @author houfy
 * @date 2015-01-22 11:11:00
 *
 */
@Bizlet("ProcessList")
public class ProcessList {
	/**
	 * @param process
	 * @param processlist
	 * @return
	 * @author houfy
	 */
	@Bizlet("")
	public static List<DataObject> MergeProcessList(DataObject[] process,
			DataObject[] processlist) {
		// TODO 自动生成的方法存根

		List<DataObject> processall = new ArrayList<DataObject>();
		if(process != null){
			for(DataObject obj : process){
				
				processall.add(obj);
			}
		}
		
		if(processlist != null){
			for(DataObject objlist : processlist){
				
				processall.add(objlist);
			}
		}
    
		return processall;
	}
}
